package com.ophiux.FeverManagement.domain.repository;

import java.util.List;
import java.util.Map;

import com.ophiux.FeverManagement.domain.entity.RbPatientTreatment;
import com.ophiux.FeverManagement.domain.entity.RbPatientTreatmentDetail;
import com.ophiux.FeverManagement.domain.entity.RbPatientTreatmentVisit;
import com.ophiux.micro.core.domain.ICommonRepository;
import com.ophiux.utils.exception.OphiuxRepositoryException;

/**
 * 说明：患者就诊方案仓储<br>
 * <h1>创 建 人: hehailong</h1>
 * 创建日期: 2019年3月18日 下午2:22:50<br>
 * 修改记录：
 */
public interface IPatientTreatmentRepository extends ICommonRepository<RbPatientTreatment> {
	
	/**
	 * 说明：保存患者就诊方案 ，患者就诊方案详情<br>
	 * 创 建 人: <b>hehailong</b>
	 * @param model
	 * @param model1
	 * @return
	 * @throws OphiuxRepositoryException
	 */
	public String save(RbPatientTreatment model,List<RbPatientTreatmentDetail> model1) throws OphiuxRepositoryException;
	
	
	/**
	 * 说明：根据患者信息，查询就诊方案<br>
	 * 创 建 人: <b>hehailong</b>
	 * @param map
	 * @return
	 * @throws OphiuxRepositoryException
	 */
	//public List<RbPatientTreatment> selectAllByPatient(Map map) throws OphiuxRepositoryException;
	
	/**
	 * 查询药品列表 并存在选中标记信息
	 * @param map
	 * @return
	 */
	public List<RbPatientTreatmentVisit> getAllDetaulVisit(Map map) throws OphiuxRepositoryException;
}
